# Author: David E. Narváez <david.narvaez@computer.org>
GLADE_DIR=glade
GLADE_PYTHON_FILES=$(patsubst $(GLADE_DIR)/%.glade, %.py, $(shell find $(GLADE_DIR) -name "*.glade"))

all: glade

glade: $(GLADE_PYTHON_FILES)

$(GLADE_PYTHON_FILES): %.py : $(GLADE_DIR)/%.glade
	tepache -o $@ $<
	
	sed -i 's/coding: UTF8/coding: utf-8/' $@
